<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method='html' version='1.0' encoding='UTF-8' indent='yes'/>
	<xsl:template match="/">
		<html>
			<head>
				<link rel="stylesheet" href="../css/index.css" type="text/css" />
				<link rel="stylesheet" href="../css/common.css" type="text/css" />
			</head>
			<body>
				<div id="header">
					<h1 id="logo"><span>MyFeed (beta) - Home page</span></h1>
				</div>
				
				<div id="navbar">
				<!--
				<form action="/cgi-bin/login.html">
					<fieldset><legend>Login</legend>
					<label for="nav_username">username</label><input accesskey="u" class="username" id="nav_username" name="Put here your username" type="text" />
					<label for="nav_password">password</label><input accesskey="p" class="password" id="nav_password" name="Put here your password" type="password"/>
					<input accesskey="g" class="submit" type="submit" value="login"/>
					</fieldset>
				</form>
				-->
					<ul id="nav_list">
						<li><a href="../index.html" accesskey ="o">H<span class="underlined">o</span>me</a></li>
						<li><a href="../signup.html" accesskey="s"><span class="underlined">S</span>ign Up</a></li>
						<li><a href="../help.html" accesskey="h"><span class="underlined">H</span>elp</a></li>    
						<li><a href="../about.html" accesskey="a"><span class="underlined">A</span>bout</a></li>
						<li><a href="../sitemap.html" accesskey="m">Site<span class="underlined">m</span>ap</a></li>
					</ul>
				</div>
				
				<div id="feed_result">
			
					<h1>MyFeed community submissions</h1>
    
					<div class="access_help">
					<a href="#most_popular_feeds">Jump to most popular feeds in this page</a> | 
					<a href="#most_recent_feeds">Jump to most recent feeds in this page</a> | 
					<a href="#most_commented_feeds">Jump to most commented feeds in this page</a> |
					<a href="#header">Jump to top in this page</a>
					</div>
    
					<xsl:for-each select="feedindex/most">
						<div> 
							<xsl:attribute name="id">
							<xsl:value-of select="@id"/>
							</xsl:attribute>
								<h2><xsl:value-of select ="@label"/></h2>
								<ol class="feed_post_list_index">
									<xsl:for-each select="feed">
									<li>
										<h4><xsl:value-of select = "name"/></h4>
										<span>
											<a>
											<xsl:attribute name="href">
												<xsl:value-of select = "link"/>
											</xsl:attribute>
											<xsl:value-of select = "link"/>
											</a>
										</span>
										<p><xsl:value-of select = "last"/></p>
									</li>
									</xsl:for-each>
								</ol>
							<div class="access_help">
							<a href="#feed_result">Jump to community submissions in this page</a>
							</div>
						</div>	
					</xsl:for-each>	
				</div>

				<div id="footer">
				<p>
					<a href="http://validator.w3.org/check?uri=referer"><img
						src="http://www.w3.org/Icons/valid-xhtml10-blue"
						alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>
					<a href="http://jigsaw.w3.org/css-validator/check/referer">
						<img style="border:0;width:88px;height:31px"
							src="http://jigsaw.w3.org/css-validator/images/vcss-blue"
							alt="CSS Valido!" />
					</a>
					<a href="http://www.w3.org/WAI/WCAG1AA-Conformance"
					  title="Explanation of Level Double-A Conformance">
				  <img height="32" width="88" 
						  src="http://www.w3.org/WAI/wcag1AA-blue"
						  alt="Level Double-A conformance icon, 
						  W3C-WAI Web Content Accessibility Guidelines 1.0" /></a>
				  </p>
				</div>

				<div class="access_help">
				<a href="#header">Jump to top in this page</a>
				</div>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>